package com.cosmic.pizza.pojo;

import java.util.List;

public class Order {
    private String oid;
    private Integer uid;
    private String date;
    private String delivery;
    private String payFlag;
    private String getFlag;
    private Double total_price;
    //订单详情
    private List<OrderInfo> orderInfo;
    //订单送达地址
    private String address;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<OrderInfo> getOrderInfo() {
        return orderInfo;
    }

    public void setOrderInfo(List<OrderInfo> orderInfo) {
        this.orderInfo = orderInfo;
    }

    public Order() {
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDelivery() {
        return delivery;
    }

    public void setDelivery(String delivery) {
        this.delivery = delivery;
    }

    public String getPayFlag() {
        return payFlag;
    }

    public void setPayFlag(String payFlag) {
        this.payFlag = payFlag;
    }

    public String getGetFlag() {
        return getFlag;
    }

    public void setGetFlag(String getFlag) {
        this.getFlag = getFlag;
    }

    public Double getTotal_price() {
        return total_price;
    }

    public void setTotal_price(Double total_price) {
        this.total_price = total_price;
    }

    @Override
    public String toString() {
        return "Order{" +
                "oid='" + oid + '\'' +
                ", uid=" + uid +
                ", date='" + date + '\'' +
                ", delivery='" + delivery + '\'' +
                ", payFlag='" + payFlag + '\'' +
                ", getFlag='" + getFlag + '\'' +
                ", total_price=" + total_price +
                ", orderInfo=" + orderInfo +
                ", address='" + address + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
